package com.ark.cloud.javacallnative.entity;

/**
 * Copyright(c): 2021 Cloud-Ark Inc.
 * Author(s): Ma Wei (mawei@cloud-ark.com)
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 传感器信息
 */
@Data
@TableName("sensor_info")
public class SensorInfo {
//    @TableId(type = IdType.AUTO, value = "id")
    @TableField("id")
    private Long sensorInfoId;

    @TableField("entity_id")
    private String id;//传感器ID

    @TableField("db_id")
    private int dbid;//传感器在数据库中的DBID
    @TableField("sensor_type")
    private short sensorType;//传感器类别 ESensorType
}
